package com.itheima.dao;

import com.itheima.pojo.OrderSetting;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;
import java.util.Map;

public interface OrderSettingDao {
    Integer findCountByOrderDate(@Param("orderDate") Date orderDate);

    void editNumberByOrderDate(OrderSetting orderSetting);

    void add(OrderSetting orderSetting);

    List<OrderSetting> getOrderSettingByMonth(Map mapParam);



    OrderSetting findByDate(@Param("orderDate") Date orderDate);

    int editReservations(OrderSetting orderSetting);
}
